package com.rc.saas.tenant.common.vo.log;


import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * Created by sven on 2018-06-13
 */
public class OrderTraceVo implements Serializable {

    private String operatorName; //加盟商名称

    private String stationNo; //桩编号

    private String pileNo; //充电枪编号

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date beginTime; //开始时间

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endTime; //结束时间

    private BigDecimal totalPower; //总充电量

    private String orderHour; //小时

    public String getOperatorName() {
        return operatorName;
    }

    public void setOperatorName(String operatorName) {
        this.operatorName = operatorName;
    }

    public String getStationNo() {
        return stationNo;
    }

    public void setStationNo(String stationNo) {
        this.stationNo = stationNo;
    }

    public String getPileNo() {
        return pileNo;
    }

    public void setPileNo(String pileNo) {
        this.pileNo = pileNo;
    }

    public Date getBeginTime() {
        return beginTime;
    }

    public void setBeginTime(Date beginTime) {
        this.beginTime = beginTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public BigDecimal getTotalPower() {
        return totalPower;
    }

    public void setTotalPower(BigDecimal totalPower) {
        this.totalPower = totalPower;
    }

    public String getOrderHour() {
        return orderHour;
    }

    public void setOrderHour(String orderHour) {
        this.orderHour = orderHour;
    }

    @Override
    public String toString() {
        return "OrderTraceVo{" +
                "operatorName='" + operatorName + '\'' +
                ", stationNo='" + stationNo + '\'' +
                ", pileNo='" + pileNo + '\'' +
                ", beginTime=" + beginTime +
                ", endTime=" + endTime +
                ", totalPower=" + totalPower +
                ", orderHour=" + orderHour +
                '}';
    }
}
